package org.springcloud.wisdom.spring_02_classroom.teacher.list;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springcloud.wisdom.spring_02_classroom.teacher.tschedule.entity.Teacher;

import java.util.List;

@Mapper
public interface TeacherMapper {
    @Select("SELECT tid,tname FROM teacher")
    List<Teacher> selectAllTeachers();
}
